Simulation of compositional data from the Flexible Dirichlet distribution: Simulation of compositional data from the Flexible Dirichlet distribution
Description
Simulation of compositional data from the Flexible Dirichlet distribution.
Usage
rfd(n, alpha, prob, tau)
Arguments
n
The sample size.
alpha
A vector of the non-negative \(\alpha\) parameters.
prob
A vector of the clusters' probabilities that must sum to one.
tau
The positive scalar \(tau\) parameter.
Value
A matrix with compositional data.
Details
For more information see the references.
References
Ongaro A. and Migliorati S. (2013). A generalization of the Dirichlet distribution.
Journal of Multivariate Analysis, 114, 412--426.
Migliorati S., Ongaro A. and Monti G. S. (2017). A structured Dirichlet mixture model for compositional data: inferential and applicative issues. Statistics and Computing, 27, 963--983.